function getNewsData (callback){
  var weApi;

  weApi="https://v.juhe.cn/toutiao/index?type=top&is_filter=1&key=e01fe8c6572b93da3253edf71d0e5035"
 

  wx.request({
    url: weApi,
    success:function(res){
      var hw = res.data;      
      callback && callback(hw);
      console.log(res.data);
    }
  })
}
module.exports={
  getNewsData:getNewsData
};